<?php
/**
 * @page tag_module %Tag %Module
 * 
 * %Tag module shows the tag cloud of your content like this:
 * 
 * @image html tag_module.jpg
 * 
 */
class TagModule extends GigaModule
{
	var $name = "TagModule";
	
	var $configuration = array(
		'view_limit' => array('type' => 'text', 'label' => 'Specify tag limit'),
		'view_all_link' => array('type' => 'checkbox', 'label' => 'Show view all link')
	);
	
	function render($params)
	{
		
		return ClassRegistry::getObject("view")->element('show_tags',array('params'=>$params));
			
	}
}
?>